import flet as ft

name = "Pre-defined theme text styles"


def example():
    return ft.Column(
        controls=[
            ft.Text("Display Large", theme_style=ft.TextThemeStyle.DISPLAY_LARGE),
            ft.Text("Display Medium", theme_style=ft.TextThemeStyle.DISPLAY_MEDIUM),
            ft.Text("Display Small", theme_style=ft.TextThemeStyle.DISPLAY_SMALL),
            ft.Text("Headline Large", theme_style=ft.TextThemeStyle.HEADLINE_LARGE),
            ft.Text("Headline Medium", theme_style=ft.TextThemeStyle.HEADLINE_MEDIUM),
            ft.Text("Headline Small", theme_style=ft.TextThemeStyle.HEADLINE_MEDIUM),
            ft.Text("Title Large", theme_style=ft.TextThemeStyle.TITLE_LARGE),
            ft.Text("Title Medium", theme_style=ft.TextThemeStyle.TITLE_MEDIUM),
            ft.Text("Title Small", theme_style=ft.TextThemeStyle.TITLE_SMALL),
            ft.Text("Label Large", theme_style=ft.TextThemeStyle.LABEL_LARGE),
            ft.Text("Label Medium", theme_style=ft.TextThemeStyle.LABEL_MEDIUM),
            ft.Text("Label Small", theme_style=ft.TextThemeStyle.LABEL_SMALL),
            ft.Text("Body Large", theme_style=ft.TextThemeStyle.BODY_LARGE),
            ft.Text("Body Medium", theme_style=ft.TextThemeStyle.BODY_MEDIUM),
            ft.Text("Body Small", theme_style=ft.TextThemeStyle.BODY_SMALL),
        ]
    )
